package com.bmps.springcloud.insuredmicroservice.model.accept.resquest;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import java.io.Serializable;
/**
 * @author lyw
 * @date 2019-09-04 11:42:42
 */
public class ResultListModel implements Serializable {

    private String insSeq;

    private String status;

    private String serialNo;

    private String timeStamp;

    private String infos;

    private String errorMessage;

    private String riskType;

    public String getInsSeq() {
        return insSeq;
    }

    public void setInsSeq(String insSeq) {
        this.insSeq = insSeq;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getInfos() {
        return infos;
    }

    public void setInfos(String infos) {
        this.infos = infos;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getRiskType() {
        return riskType;
    }

    public void setRiskType(String riskType) {
        this.riskType = riskType;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }

        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        ResultListModel that = (ResultListModel) o;

        return new EqualsBuilder()
                .append(insSeq, that.insSeq)
                .append(status, that.status)
                .append(serialNo, that.serialNo)
                .append(timeStamp, that.timeStamp)
                .append(infos, that.infos)
                .append(errorMessage, that.errorMessage)
                .append(riskType, that.riskType)
                .isEquals();
    }

    @Override
    public int hashCode() {
        return new HashCodeBuilder(17, 37)
                .append(insSeq)
                .append(status)
                .append(serialNo)
                .append(timeStamp)
                .append(infos)
                .append(errorMessage)
                .append(riskType)
                .toHashCode();
    }

    @Override
    public String toString() {
        return "ResultListModel{" +
                "insSeq='" + insSeq + '\'' +
                ", status='" + status + '\'' +
                ", serialNo='" + serialNo + '\'' +
                ", timeStamp='" + timeStamp + '\'' +
                ", infos='" + infos + '\'' +
                ", errorMessage='" + errorMessage + '\'' +
                ", riskType='" + riskType + '\'' +
                '}';
    }
}
